package com.gragra.nounIdentification.tests;
import static org.junit.Assert.*;
import org.junit.Before;
import org.junit.Test;
import com.gragra.nounIdentification.FixedMax;
public class TestFixedMax
{
	/**
	 * 
	 */
	private FixedMax fm;
	@Before
	public void setUp() throws Exception
	{fm = new FixedMax(10, 20);}
	@Test
	public void testGetMaxFrames()
	{
		assertEquals(10,fm.getMaxFrames(0, null));
		assertEquals(10,fm.getMaxFrames(15, null));
	}
	@Test
	public void testGetMaxNouns()
	{
		assertEquals(20,fm.getMaxNouns(15, null));
		assertEquals(20,fm.getMaxNouns(0, null));
	}
}